<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>函数练习</title>
		<script>
			function a(){
				for(var i=1;i<=10;i++){
					console.log(i);
				}
			}
			// a();
			var a1=function(){
				for(var i=1;i<=10;i++){
					console.log(i);
				}
			}
			// a1();
			function b(x){
				return x;
			}
			// console.log(b(10));
			var b1=function(x){
				return x;
			}
			console.log(b1(5));
			function a2(){
				for(var i=1;i<=10;i++){
					console.log(i);
				}
			}
			// a2();
			var a3=function(){
				for(var i=1;i<=10;i++){
					console.log(i);
				}
			}
			// a3();
			function b2(x){
				return x;
			}
			// console.log(b2(10));
			var b3=function(x){
				return x;
			}
			console.log(b3(5));
			function c(x,y){
				return x+y;
			}
			console.log(c(3,155));
			var c1=function(x,y){
				console.log(x);
				console.log(y);
			}
			c1(14,15);
		</script>
	</head>
	<body>
	</body>
</html>
